package com.bmadmin.service;

import com.bmadmin.domain.NormalResult;
import com.bmadmin.domain.SysDepartmentsPOJO;

/**
 * Created by SEELE on 2017/12/3.
 */
public interface SysDepartmentService {
    NormalResult insertDepartment(SysDepartmentsPOJO sysDepartmentsPOJO);

    NormalResult updateDepartment(SysDepartmentsPOJO sysDepartmentsPOJO);

    NormalResult delDepartment(SysDepartmentsPOJO sysDepartmentsPOJO);

    NormalResult getDepartmentByTree(SysDepartmentsPOJO sysDepartmentsPOJO);

    NormalResult getDepartmentById(SysDepartmentsPOJO sysDepartmentsPOJO);
}
